package com.zkw.group.mapper;

import com.zkw.group.entity.CourseIndicatorSupport;
import com.zkw.group.entity.ProfesIndicatorOne;
import com.zkw.group.entity.ProfesIndicatorTwo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PublicProfesIndicatorMapper {

    //获取一级指标列表
    List<ProfesIndicatorOne> getAllIndicatorOneList(String findicname, int pageStart, int pageSize);

    //获取一级指标列表数目
    int getIndicatorOneCounts(String findicname);

    //获取二级指标列表
    List<ProfesIndicatorTwo> getAllIndicatorTwoList(String sindicname, String fid, int pageStart, int pageSize);

    //获取二级指标列表数目
    int getIndicatorTwoCounts(String sindicname,String fid);

    //通过课程对应二级指标编号分页查询课程对应能力指标支撑度信息
    List<CourseIndicatorSupport> getAllCourseIndicatorSupportList(String sid, String cname, int pageStart, int pageSize);

    //获取该课程对应能力指标支撑度书数目
    int getCourseIndicatorSupportCounts(String sid,String cname);
}
